<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>玻璃态导航栏</title>
    <link rel="stylesheet" href="../icon/1/iconfont.css" />
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      a {
        text-decoration: none;
      }
      body {
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #1e2759;
      }
      ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 10px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
      }
      li {
        position: relative;
      }
      ul li a {
        color: #fff;
        position: relative;
        display: inline-block;
        padding: 20px 30px;
        z-index: 1000;
        backdrop-filter: blur(25px);
      }
      .iconfont {
        font-size: 2.5em;
        pointer-events: none;
        opacity: 0.25;
        transition: 0.25s;
      }
      ul li:hover .iconfont,
      ul li:hover::after {
        opacity: 1;
      }
      ul li::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        transition: 0.5s;
        width: 50%;
        height: 50%;
        border-radius: 10px;
        background-color: #5da6ff;
        box-shadow: 0 0 15px #5da6ff, 0 0 30px #5da6ff, 0 0 45px #5da6ff,
          0 0 60px #5da6ff;
        opacity: 0;
      }
    </style>
  </head>
  <body>
    <ul>
      <li>
        <a href=""><i class="iconfont icon-daohanglansousuo"></i></a>
      </li>
      <li>
        <a href=""><i class="iconfont icon-daohanglan-01"></i></a>
      </li>
      <li>
        <a href=""><i class="iconfont icon-daohanglan-04"></i></a>
      </li>
      <li>
        <a href=""><i class="iconfont icon-daohanglan-05"></i></a>
      </li>
      <li>
        <a href=""><i class="iconfont icon-daohanglan"></i></a>
      </li>
    </ul>
  </body>
</html>
